package com.ssm.study.service;

import com.ssm.study.dao.IGameDao;
import com.ssm.study.dao.IUserDao;
import com.ssm.study.entity.Game;
import com.ssm.study.entity.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by w on 2017/4/19.
 */

@Service("gameService")
public class GameServiceImpl implements IGameService  {
    @Resource
    IGameDao gameDao;

    public List<Game> getAllGames() {
        return gameDao.selectAllGame();
    }
}
